-
-
Notifications
You must be signed in to change notification settings - Fork 963
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: linkedin v2 provider #3804
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3804 +/- ##
==========================================
- Coverage 77.97% 77.96% -0.01%
==========================================
Files 357 358 +1
Lines 25138 25166 +28
==========================================
+ Hits 19601 19621 +20
- Misses 4031 4036 +5
- Partials 1506 1509 +3 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Easy fix 👍
All tests fail |
This PR adds a new "v2" LinkedIn provider that overwrites the issuer URL which is set to
https://www.linkedin.com
even though the discovery URL is underhttps://www.linkedin.com/oauth/.well-known/openid-configuration
. The v2 provider uses the generic provider for as much work as possible and only overwrites the concrete issuer URL.Additionally, I had to "discover" the format of the
locale
claim, which is an object for LinkedIn and a string for Discord.The tests "just" test that we can now do a successful discovery.
Additionally, I confirmed this working manually.
Related issue(s)
Fixes #3655
Checklist
introduces a new feature.
contributing code guidelines.
vulnerability. If this pull request addresses a security vulnerability, I
confirm that I got the approval (please contact
security@ory.sh) from the maintainers to push
the changes.
works.
Further Comments